package com.xmall.bean.vo;

import com.xmall.bean.table.Address;
import com.xmall.bean.table.Cart;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CheckoutCartVo {

    /**
     * grouponPrice : 20
     * grouponRulesId : 7
     * checkedAddress : {"id":23,"name":"哈哈","userId":1,"provinceId":4,"cityId":46,"areaId":578,"address":"我家1231-3243-213","mobile":"13033339999","isDefault":false,"addTime":"2020-12-09 10:48:47","updateTime":"2020-12-09 16:21:13","deleted":false}
     * actualPrice : 1805
     * orderTotalPrice : 1805
     * couponPrice : 200
     * availableCouponLength : 3
     * couponId : 49
     * freightPrice : 0
     * checkedGoodsList : [{"id":203,"userId":1,"goodsId":1006002,"goodsSn":"1006002","goodsName":"轻奢纯棉刺绣水洗四件套","productId":7,"price":899,"number":2,"specifications":["标准"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/8ab2d3287af0cefa2cc539e40600621d.png","addTime":"2020-12-10 09:16:58","updateTime":"2020-12-10 09:16:58","deleted":false},{"id":204,"userId":1,"goodsId":1110016,"goodsSn":"1110016","goodsName":"天然硅胶宠物除毛按摩刷","productId":357,"price":10,"number":1,"specifications":["k1","w3","h1"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/3bd73b7279a83d1cbb50c0e45778e6d6.png","addTime":"2020-12-10 09:17:15","updateTime":"2020-12-10 09:17:15","deleted":false},{"id":205,"userId":1,"goodsId":1039051,"goodsSn":"1039051","goodsName":"多功能午睡枕","productId":54,"price":79,"number":3,"specifications":["标准"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/c8ca0600fa7ba11ca8be6a3173dd38c9.png","addTime":"2020-12-10 09:17:23","updateTime":"2020-12-10 09:17:23","deleted":false}]
     * goodsTotalPrice : 2005
     * addressId : 23
     */

    private BigDecimal grouponPrice;
    private Integer grouponRulesId;
    private Address checkedAddress;
    private BigDecimal actualPrice;
    private BigDecimal orderTotalPrice;
    private BigDecimal couponPrice;
    private Integer availableCouponLength;
    private Integer couponId;
    private BigDecimal freightPrice;
    private BigDecimal goodsTotalPrice;
    private Integer addressId;
    private List<Cart> checkedGoodsList;

}
